🤖 ChatGPT
(26 actions, 19 KB)
0 If
[Shortcut Input]
has any value
1 Run Shortcut
isDictionary
»
Input
:
[Shortcut Input]
Workflow
:
{ "workflowIdentifier": "F1322BB9-5821-4A59-AE61-84D4DF38EAE0", "workflowName": "isDictionary", "isSelf": false }
2 If
[1 Shortcut Result
as Boolean
]
is true
3 Text
[Shortcut Input
as Dictionary.prompt
]
[Shortcut Input
as Dictionary.content
]
4 Otherwise
5 DataJar > GetValueIntent »
7
keyPath
:
Text Divider
6 Actions > TruncateTextIntent »
maximumLength
:
50
text
:
[Shortcut Input]
7 Text »
[5 Value]
[6 Truncated Text]
[5 Value]
→ 🤖 Enter the prompt:
8 Ask for Text Input »
9
10
AskActionPrompt
:
[7 Text]
AskActionDefaultAnswer
:
9 Copy
[8 Ask for Input]
to Clipboard
10 Text
[8 Ask for Input]
[Shortcut Input]
11 End If ▵
4
»
15
12 If
[DeviceDetails
’s OS
]
is
iOS
13 Go to Home Screen
14 End If
15 chat > AskIntent
prompt
:
[11 If Result]
continuous
:
false
newChat
:
true
model
:
{ "subtitle": { "key": "Auto" }, "title": { "key": "Auto" }, "identifier": "auto" }
ShowWhenRun
:
false
16 Otherwise ▵
0
17 chat > OpenNewChatInAppShortcutIntent
18 End If
19 Open App
com.openai.chat
SelectedApp
:
{ "BundleIdentifier": "com.openai.chat", "Name": "ChatGPT", "TeamIdentifier": "2DC432GLL2" }
20 If
[DeviceDetails
’s OS
]
is
macOS
21 Find Windows
Library
»
22
23
ContentItemLimitEnabled
:
true
ContentItemLimitNumber
:
1
ContentItemFilter
:
App Name is ChatGPT
22 Move Window
[21 Windows]
to Center
23 Resize Window
[21 Windows]
to Fit Screen
24 End If
25 Stop This Shortcut